package znet

import "gitee.com/hufengjiu/go-zinx/ziface"

type Request struct {
	c       ziface.IConnection
	message ziface.IMessage
}

func (r *Request) GetConnection() ziface.IConnection {
	return r.c
}

func (r *Request) GetData() []byte {
	return r.message.GetData()
}

func (r *Request) GetMsgId() uint32 {
	return r.message.GetMsgId()
}
